package cc.openkit.admin.dao;

import cc.openkit.admin.model.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Component
public interface UserInfoMapper extends Mapper<UserInfo> {

    List<UserInfo> findByCondition(@Param("userInfo") UserInfo userInfo);

    int queryCountByCondition(@Param("userInfo") UserInfo userInfo);
}